<html>

<head>
<title>Globals: Time Info</title>
<style type="text/css"><!--tt { font-size: 10pt } pre { font-size: 10pt }--></style>
</head>

<body bgcolor="#ffffff" text="#000000" link="#000080" vlink="#800000" alink="#0000ff">

<table border="0" cellpadding="0" cellspacing="0" bgcolor="#d0d0d0">
  <tr>
    <td width="120" align="left"><a href="txtrfunc.html"><img width="96" height="20"
    border="0" src="../images/navlt.gif" alt="Texture Functions"></a></td>
    <td width="96" align="left"><a href="vparam.html"><img width="64" height="20" border="0"
    src="../images/navrt.gif" alt="Variant Parameters"></a></td>
    <td width="96" align="left"><a href="../globals.html"><img width="56" height="20"
    border="0" src="../images/navup.gif" alt="Globals"></a></td>
    <td width="288" align="right"><a href="../index.html"><img width="230" height="20"
    border="0" src="../images/proglw.gif" alt="Table of Contents"></a></td>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="600"><br>
    <h3>Time Info</h3>
    <p><small><strong>Availability</strong>&nbsp; LightWave 6.5</small><br>
    <small><strong>Component</strong>&nbsp; Layout</small><br>
    <small><strong>Component</strong>&nbsp; <a href="../../include/lwrender.h">lwrender.h</a></small></p>
    <p>The time info global returns the time of the frame currently being rendered.</p>
    <p><strong>Global Call</strong></p>
    <pre>   LWTimeInfo *timeinfo;
   timeinfo = global( LWTIMEINFO_GLOBAL, GFUSE_TRANSIENT );</pre>
    <p>The global function returns a pointer to an LWTimeInfo.</p>
    <pre>   typedef struct st_LWTimeInfo {
      LWTime  <strong>time</strong>;
      LWFrame <strong>frame</strong>;
   } LWTimeInfo;</pre>
    <dl>
      <dt><strong><tt>time</tt></strong> </dt>
      <dd>The time in seconds of the frame currently being rendered.</dd>
      <dt><tt><br>
        <strong>frame</strong></tt></dt>
      <dd>The frame number for the current frame.</dd>
    </dl>
    </td>
  </tr>
</table>
</body>
</html>
